home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 1691 / ADVENT next >
Text File  |  1990-09-07  |  2KB  |  118 lines

  1. /*
  2.  * Sample adventure game room generator:
  3.  */
  4. dungroom: {A $size $shape $room $type1.
  5. $exits.
  6. $objects.}
  7. ;
  8.  
  9. size: {large}
  10.     | {small}
  11.     | {tall}
  12.     | {low ceilinged}
  13.     ;
  14. shape: {rectangular}
  15.      | {round}
  16.      | {square}
  17.      | {diamond shaped}
  18.      | {octagonal}
  19.      | {irregularly shaped}
  20.      ;
  21. room: {room}
  22.     | {entrance hall}
  23.     | {cave}
  24.     | {place}
  25.     ;
  26.  
  27. type1: {which smells like bats}
  28.      | {which is very dingy and dirty}
  29.      | {covered thickly in dust}
  30.      | {faced with brick}
  31.      | {richly panelled in mahoganey}
  32.      | {which gives you an $feeling}
  33.      ;
  34.  
  35. exits: {There are doorways to the $south, $eastwest, and $north}
  36.      | {There is a single doorway to the $direction}
  37.      | {There are exits to the $eastwest and $south}
  38.      | {There is a door to the $direction and a trap door in the floor}
  39.      ;
  40.  
  41. south: {south}
  42.      | {south east}
  43.      | {south west}
  44.      ;
  45.  
  46. eastwest: {east}
  47.      | {west}
  48.      ;
  49.  
  50. north: {north}
  51.      | {north east}
  52.      | {north west}
  53.      ;
  54.  
  55. direction: {$south}
  56.      | {$eastwest}
  57.      | {$north}
  58.      ;
  59.  
  60. objects!u: {There is a $treasure here}
  61.        | {There is $monster here}
  62.        | {There is a $treasure here}
  63.        | {$objects
  64. $objects}
  65.        | {There is $furniture here}
  66.        | {There is $monster here}
  67.        | {$objects.
  68. $objects}
  69.        | {There is $furniture here}
  70.        ;
  71.  
  72. treasure!u: {golden chalice}
  73.         | {silver dagger}
  74.         | {silver candlestick}
  75.         | {large ruby}
  76.         | {small emerald}
  77.         | {blue-white diamond}
  78.         | {medium emerald}
  79.         | {pouch of copper coins}
  80.         | {purse filled with silver spoons}
  81.         | {gold nugget}
  82.         | {golden ankh}
  83.         | {gold ring}
  84.         ;
  85.  
  86. monster!u: {pair of orcs}
  87.        | {a troll}
  88.        | {a giant bat}
  89.        | {a dozen evil slinking rats}
  90.        | {a mosquitoe the size of a hummingbird}
  91.        | {an old man in a battered hat}
  92.        | {a quivering blob}
  93.        | {a slowly moving slug, about 3 feet long}
  94.        | {a moist, glowing mushroom}
  95.        | {an ancient dwarf}
  96.        | {a pair of hungry-looking tigers}
  97.        | {a large extremely shaggy bear}
  98.        ;
  99.  
  100. furniture!u: {a broken chair}
  101.          | {an empty wooden chest}
  102.          | {a straw mattress}
  103.          | {a pile of clothing}
  104.          | {a rubber band}
  105.          | {a rusted metal band}
  106.          | {a gnawed bone}
  107.          | {a shiny piece of wire}
  108.          | {a pair of leather boots}
  109.          | {a dusty harp}
  110.          ;
  111.  
  112. feeling!u: {itchy sensation}
  113.          | {creepy feeling}
  114.          | {peaceful feeling}
  115.          | {irritable sensation}
  116.          | {peculiar feeling}
  117.          ;
  118.